package org.jeecg.modules.bill.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description: 药品报损单表
 * @Author: 孔小波
 * @Date:   2020-03-24
 * @Version: V1.0
 */
@Data
@TableName("medicine_loss")
public class MedicineLoss {

    private static final long serialVersionUID = 1L;
    /**主键*/
    /**分布式全局唯一ID字符串类型*/
    @TableId(type = IdType.ID_WORKER_STR)
    private java.lang.String bid;
    /**创建人*/
    @Excel(name = "创建人", width = 15)
    private java.lang.String createBy;
    /**创建日期*/
    @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**更新人*/
    @Excel(name = "更新人", width = 15)
    private java.lang.String updateBy;
    /**更新日期*/
    @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime; /**批准文号*/
    @Excel(name = "批准文号", width = 15)
    private java.lang.String yid;
    /**药品名称*/
    @Excel(name = "药品名称", width = 15)
    private java.lang.String yname;
    /**出库数量*/
    @Excel(name = "报损数量", width = 15)
    private java.lang.Integer bnumber;
    /**备注*/
    @Excel(name = "报损原因", width = 15)
    private java.lang.String breason;
    /**备注*/
    @Excel(name = "备注", width = 15)
    private java.lang.String remarks;
    /**备注*/
    @Excel(name = "库存单id", width = 15)
    private java.lang.String sid;
    /**审核状态*/
    private java.lang.String status;
}
